package com.fc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fc.entity.Employee;
import com.fc.entity.input.DeleteBatchInput;
import com.fc.entity.input.EmployeeInput;
import com.fc.entity.input.EmployeeQueryInput;
import com.fc.entity.query.PageQuery;
import com.fc.service.baseService.BaseService;
import com.fc.utils.ResultVO;

/**
 * <p>
 * 员工表 服务类
 * </p>
 *
 * @author
 * @since 2024-10-31
 */
public interface EmployeeService extends BaseService<Employee> {

    /**
     * 新增
     */
    boolean add(EmployeeInput input);

    /**
     * 分页模糊查询
     */
    IPage<Employee> getPage(PageQuery query, EmployeeQueryInput input);

    /**
     * 修改
     */
    boolean renew(EmployeeInput input);

    /**
     * 删除
     */
    boolean del(DeleteBatchInput input);

    /**
     * 查询详情
     */
    ResultVO<Employee> detail(Long id);
}
